package com.home.qh.dao;

import java.util.List;
import java.util.Set;

import com.home.qh.model.AdditionalClause;
import com.home.qh.model.Booking;
import com.home.qh.model.TransFreight;
import com.home.qh.model.TransGoodsDesc;
import com.home.qh.model.TransParty;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface BookingDao extends GenericDao<Booking, Long> {
    /**
     * Gets role information based on CityDao
     * @param CityDao the CountryDao
     * @return populated role object
     */
//	List<City> getCityByCodeAndName(String cityCode, String cityName);
	
	List<Booking> getBookingByBooking(Booking booking, String sort, boolean desc, int startResult, int maxResults);

	List<TransParty> getTransPartyByBooking(long parseLong);

	List<AdditionalClause> getAdditionalClauseByBooking(long bookingId);

	List<TransFreight> getTransFreightByBooking(long bookingId);

	List<TransGoodsDesc> getTransGoodsDescByBooking(long bookingId);

	int getOrderNumber();
    
}
